<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBiddingProcess
 *
 * @ORM\Table(name="p2p_bidding_process", indexes={@ORM\Index(name="b_id", columns={"b_id"}), @ORM\Index(name="b_id_2", columns={"b_id"})})
 * @ORM\Entity
 */
class P2pBiddingProcess
{
    /**
     * @var integer
     *
     * @ORM\Column(name="b_id", type="integer", nullable=false)
     */
    private $bId;

    /**
     * @var string
     *
     * @ORM\Column(name="status", type="string", length=50, nullable=false)
     */
    private $status;

    /**
     * @var string
     *
     * @ORM\Column(name="opinion", type="string", nullable=false)
     */
    private $opinion;

    /**
     * @var string
     *
     * @ORM\Column(name="message", type="text", length=65535, nullable=true)
     */
    private $message;

    /**
     * @var integer
     *
     * @ORM\Column(name="adminid", type="integer", nullable=false)
     */
    private $adminid;

    /**
     * @var integer
     *
     * @ORM\Column(name="time", type="integer", nullable=false)
     */
    private $time;

    /**
     * @var integer
     *
     * @ORM\Column(name="processid", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $processid;



    /**
     * Set bId
     *
     * @param integer $bId
     *
     * @return P2pBiddingProcess
     */
    public function setBId($bId)
    {
        $this->bId = $bId;

        return $this;
    }

    /**
     * Get bId
     *
     * @return integer
     */
    public function getBId()
    {
        return $this->bId;
    }

    /**
     * Set status
     *
     * @param string $status
     *
     * @return P2pBiddingProcess
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return string
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set opinion
     *
     * @param string $opinion
     *
     * @return P2pBiddingProcess
     */
    public function setOpinion($opinion)
    {
        $this->opinion = $opinion;

        return $this;
    }

    /**
     * Get opinion
     *
     * @return string
     */
    public function getOpinion()
    {
        return $this->opinion;
    }

    /**
     * Set message
     *
     * @param string $message
     *
     * @return P2pBiddingProcess
     */
    public function setMessage($message)
    {
        $this->message = $message;

        return $this;
    }

    /**
     * Get message
     *
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Set adminid
     *
     * @param integer $adminid
     *
     * @return P2pBiddingProcess
     */
    public function setAdminid($adminid)
    {
        $this->adminid = $adminid;

        return $this;
    }

    /**
     * Get adminid
     *
     * @return integer
     */
    public function getAdminid()
    {
        return $this->adminid;
    }

    /**
     * Set time
     *
     * @param integer $time
     *
     * @return P2pBiddingProcess
     */
    public function setTime($time)
    {
        $this->time = $time;

        return $this;
    }

    /**
     * Get time
     *
     * @return integer
     */
    public function getTime()
    {
        return $this->time;
    }

    /**
     * Get processid
     *
     * @return integer
     */
    public function getProcessid()
    {
        return $this->processid;
    }
}
